package cn.baker.app.consumer;

import cn.baker.rabbitmq.listener.AbstractMessageListener;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class OrderMessageService extends AbstractMessageListener {

    @Override
    public void receiveMessage(Message message) {
        String messageBody = new String(message.getBody());

    }

}